<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {{.conthead}}
    <link rel="stylesheet" type="text/css" href="/static/css/reset.css">
    <link rel="stylesheet" type="text/css" href="/static/css/main.css">
    <script type="text/javascript" src="/static/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript">
        window.onload=function (ev) {
            $(".dels").click(function () {
                if (!confirm("是否确认删除")) {return false}
            });
            /*通过文章类别下拉框的改变,向后台传递相关的数据*/
            $("#select").change(function () {
                $("#form").submit()
            })
        }
    </script>
</head>
<body>

<div class="header">
    <a href="#" class="logo fl"><img src="/static/img/logo.png" alt="logo"></a>
    <a href="/logout" class="logout fr">退 出</a>
</div>

<div class="side_bar">
    <div class="user_info">
        <img src="/static/img/person.png" alt="张大山">
        <p>欢迎你 <em>{{.userName}}</em></p>
    </div>

    <div class="menu_con">
        <div class="first_menu active"><a href="javascript:;" class="icon02">文章管理</a></div>
        <ul class="sub_menu show">
            <li><a href="/article/index" class="icon031">文章列表</a></li>
            <li><a href="/article/add" class="icon032">添加文章</a></li>
            <li><a href="/article/addType" class="icon034">添加分类</a></li>
        </ul>
    </div>
</div>



{{.LayoutContent}}


</body>
</html>
